/**
 * 
 */
package com.rapwaves.feeds.content.beans;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.rapwaves.feeds.content.FeedContentType;

/**
 * @author asanthan
 * 
 */
public class PhotoContent extends AbstractContent implements IsSerializable {

	// We need this to make is deserializable.
	public PhotoContent() {
		super();
	}
	/**
	 * @param contentType
	 */
	public PhotoContent(String photoUrl, String link) {
		super(FeedContentType.PHOTO);
		this.photoUrl = photoUrl;
		this.setLink(link);
	}
	
	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getLink() {
		return link;
	}

	private String photoUrl;
	private String link; // Link to the page where the photo is posted
	

}
